#pragma once
#include "CDependencyObject.h"

class CMILMatrix;
class CPathSegmentCollection;

class CPathFigure :
	public CDependencyObject
{

private: 
	CPathFigure(CCoreServices * pCore);
	virtual ~CPathFigure();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	HRESULT AddToPath(const CMILMatrix * pMatrix);
	CPathSegmentCollection * m_pSegments;
	struct XPOINTF m_ptStart;
	XINT32 m_bClosed;
	XINT32 m_bFilled;
	HRESULT AddAcceleratedFigure(struct IPALGeometrySink * pPALGeometrySink);


};